package com.i7time.qutan.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Hsia on 16/6/1.
 */
public class ReturnMap {

    public static Map TokenFailMap=new HashMap<String,Object>();
    static{
        TokenFailMap.put("code", "200");
        TokenFailMap.put("msg", "token_fail");

    }

    public static Map PassFailMap=new HashMap<String,Object>();
    static{
        PassFailMap.put("code", "200");
        PassFailMap.put("msg", "password_fail");

    }

    public static Map dubboFailMap=new HashMap<String,Object>();
    static{
        dubboFailMap.put("code", "200");
        dubboFailMap.put("msg", "dubbo_connection_fail");

    }

    public static Map exceptionMap=new HashMap<String,Object>();
    static{
        exceptionMap.put("code", "200");
        exceptionMap.put("msg", "exception");

    }







    public static HashMap getSuccessMap(){
        HashMap<String,Object> map=new HashMap<String,Object>();
        map.put("code",200);
        map.put("msg","success");
        return map;

    }




}
